<div class="navbar">
	<div class="navbar-inner fff_shopping" style="background:#ff6735">
		<div class="center sc_title" style="color:#fff">购物车</div>
	</div>
</div>
<div class="pages">
	<div class="page" data-page="shoppingcar" >
		<div class="page-content shopping_car_cart_container" style="padding-bottom: 100px;">
			{{#if this.is_empty}}
			<div class="content-block" id="cart_empty" style="margin-top: 2rem;">
				<div class="content-block-inner">
					<div class="shopping_car" style="margin-top: 2rem;">
						<img src="img/shouye/gouwuchechahuax.png" alt="" />
						<p class="kongggouwuche mu_fonts mu_margin">购物车是空的，您可以</p>
						<a href="#" onclick="go_href_('#/')" class="button color-gray mu_fonts">去首页逛逛</a>
					</div>
				</div>
			</div>
			{{/if}}
			<div class="list-block media-list" style="margin-top: 2.8rem;" >
				<ul id="shopping-content">
					<!---------------------->
					{{#if this.is_empty}}
					{{else}}
					{{#each this.data}}
					<li class="swipeout" style="border-bottom: 5px solid #f7f7f8">
			            <div class="item-cart-btn">
			                <p class="p-left"> {{seller_name}}</p>
			                <p class="p-right" name="edit" data-goods_id="{{goods_id}}" onclick="edit_cart_(this,{{count}});TotalPrice();">编辑</p>
			            </div>
			            <div name="goods_content" class="shopcar item-content swipeout-content commodity" data-id="{{cart_id}}" data-goods_id="{{goods_id}}">
				            <div class="item-media">
				 				<div class="cart-checkbox">
									<input type="checkbox" class="check goods-check goodsCheck" onclick="good_btn(this);" checked="checked" >
				                </div>
				            	<img data-img_url="{{image}}" width="78" height="78"
				            	 class="preview_load lazy-fadein lazy-loaded sc_img" src="#"  onclick="go_href_('#/goods_detail/{{goods_id}}')">
				            </div> 
				            <div class="item-inner"> 
				            	<div class="item-title-row" onclick="go_href_('#/goods_detail/{{goods_id}}')">
						            <div class="item-title">{{goods_name}}</div>
						            <div class="item-after danjia"><a>￥</a><span>{{price}}</span></div>
					            </div>
					            <div class="item-subtitle">{{seller_name}}</div>
					            <div class="item-text" onclick="go_href_('#/goods_detail/{{goods_id}}')">
					                	重量：{{weight}}g
					                <div class="liang-numder">x<span name="goods_count">{{count}}</span></div>
					            </div>
					            <div class="item-cart-tan">
						            <div class="cart-tan-left">
						                <span class="span_jian" onclick="span_jian(this)">-</span>
						                <input type="text" name="goods_count" value="{{count}}" oninput="if(value.length>3)value=999" />
						                <span class="span_jia sp_jia" onclick="span_jia(this)">+</span>
						            </div>
					            </div>
				            </div> 
			            </div>
			            <div class="swipeout-actions-right">
					        <a href="#" onclick="del_cart({{goods_id}})" class="manage_action2 bg-red">删除</a>
					    </div>
			        </li>
					{{/each}}
					{{/if}}
				</ul>
			
			</div>
		
	</div>
	<div class="sc_bottom">
		<div class="sc_quanxuan">
			<div class="cart-checkbox">
                <input type="checkbox" class="check goods-check" id="AllCheck" onclick="all_btn(this);" checked="checked" >
            </div>
		</div>
		<div class="sc_qxtxt">
			<p class="p-left sc_qx goods-check" >全选</p>
		</div>
		<div class=" sc_jiesuan shopping_jiesuan_all">
			<a id="order_detail" class="button color-green" onclick="SHOPPING_CAR.cart_to_order();">结算</a>
		</div>
		<div class="shopping_jiesuan_total"><a>合计：</a><a class="sc_price">￥</a><span>0.00</span></div>
	</div>
		
	</div>
</div>
